package com.tx.resources.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: 描述
 * @Author：XiaoBing
 * @Date：2020/12/4 16:44
 * @Version：1.0
 */
@RestController
public class HelloController {
    @GetMapping("/hello")
    public String hello() {
        return "hello普通权限------------------------->";
    }

    @GetMapping("/admin/hello")
    public String admin() {
        return "admin权限测试-------------------------->";
    }
}
